Pearson Edexcel · A-Level · Statistics
Course version: 9ST0 · Version from Sept 2017
Difference of two
Full specification wording
Hypothesis testing for 1 and 2 samples: difference of two means for two independent normal distributions with unknown but equal variances
This topic covers testing a claim about the difference between two population means when you have two independent samples drawn from normal distributions.
- Point 3 of 4
Study notes
From the teaching notes for this specification point.
The idea
This topic covers testing a claim about the difference between two population means when you have two independent samples drawn from normal distributions. The population variances are unknown, but you assume they are equal. Because the common variance is unknown, you estimate it by pooling the two sample variances, weighting each by its degrees of freedom: s²p = [(n₁ − 1)s₁² + (n₂ − 1)s₂²] / (n₁ + n₂ − 2). The test statistic is t = [(x̄₁ − x̄₂) − d₀] / √(s²p(1/n₁ + 1/n₂)), where d₀ is the hypothesised difference, often 0. Compare t with the t-distribution on n₁ + n₂ − 2 degrees of freedom. For a two-tailed test at 5%, reject H₀ when |t| exceeds the critical value; for a one-tailed test, compare t with the appropriate one-sided critical value. Always state H₀ and H₁ in terms of μ₁ − μ₂, check the independence and normality assumptions, and interpret the conclusion in context.
What earns the marks
- States H₀ and H₁ correctly in terms of μ₁ − μ₂, for example H₀: μ₁ − μ₂ = 0 and H₁: μ₁ − μ₂ ≠ 0 for a two-tailed test.
- Calculates the pooled variance using s²p = [(n₁ − 1)s₁² + (n₂ − 1)s₂²] / (n₁ + n₂ − 2), showing the degrees of freedom n₁ + n₂ − 2.
- Computes the test statistic t = [(x̄₁ − x̄₂) − d₀] / √(s²p(1/n₁ + 1/n₂)) with correct substitution.
- Compares the calculated t-value with the critical value from the t-distribution on n₁ + n₂ − 2 degrees of freedom, or compares the p-value with the significance level.
- Draws a conclusion in context, referring to the original claim about the difference of means and the direction of any difference.
Common mistakes and how to put them right
Using the separate variances formula instead of pooling.
Put it right: The equal-variance assumption requires the pooled estimate s²p, not the unpooled standard error.
Forgetting to subtract the hypothesised difference d₀ in the numerator.
Put it right: When testing a non-zero difference, the numerator must be (x̄₁ − x̄₂) − d₀.
Using the wrong degrees of freedom, such as n₁ + n₂ − 1 or the smaller of n₁ − 1 and n₂ − 1, instead of n₁ + n₂ − 2.
Exam tips
- Write down H₀ and H₁ before any calculation, defining μ₁ and μ₂ clearly in the context of the question.
- Show the pooled variance calculation explicitly so the method is visible even if an arithmetic slip occurs.
- State the degrees of freedom and the critical value or p-value, then give a clear contextual conclusion that answers the original claim.
Try the lesson
The start of the Hypothesis testing for 1 and 2 samples: difference of two means for two independent normal distributions with unknown but equal variances lesson, made from teaching notes for this specification point.
Have a go first
Two independent normal samples have unknown but equal variances. Sample 1 has n₁ = 10 and s₁² = 20; sample 2 has n₂ = 16 and s₂² = 30. What is the pooled variance estimate s_p² = ((n₁ − 1)s₁² + (n₂ − 1)s₂²)/(n₁ + n₂ − 2)?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
5 free practice questions every day · Free forever · No card required
Test your understanding of Hypothesis testing for 1 and 2 samples: difference of two means for two independent normal distributions with unknown but equal variances
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
5 free practice questions every day · Free forever · No card required